

from analyse.kline_handler.handler import KlineHandler


class FlatHandler(KlineHandler):
    def handle(self, kline):
        if kline["open"]==kline["close"]:
            return {**kline, "dec":"平盘"}